package com.yanze.schoolinformation.model.bean;

import java.io.Serializable;

/**
 * Created by MrZheng on 2018/3/19.
 */

public class NewsModule implements Serializable{
    public static final int TITLE_ITEM = 0;
    public static final int NORMAL_ITEM = 1;
    public static final int IMAGE_ITEM = 2;

    private String title;
    private String link;
    private String imgUrl;
    private int type;

    public NewsModule() {
    }

    public NewsModule(String title, String link,String imgUrl, int type) {
        this.title = title;
        this.link = link;
        this.imgUrl = imgUrl;
        this.type = type;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "NewsModule{" +
                "title='" + title + '\'' +
                ", more='" + link + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", isTitle =" + type +
                '}';
    }
}
